Skip to content

[#325] Upgrade Central publishing plugin and remove Maven 3.9 pin - #224

Merged
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:fix-central-publishing-0.12.0
Nov 6, 2026
Merged

vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:fix-central-publishing-0.12.0

Conversation

@vharseko

@vharseko vharseko commented Nov 6, 2026

Copy link
Copy Markdown
Member

Fixes OpenIdentityPlatform/commons#325.

Follows #179 and OpenIdentityPlatform/commons#388.

Upgrade org.sonatype.central:central-publishing-maven-plugin from 0.11.0 to 0.12.0. Version 0.12.0 removes the Maven 3.10 local-repository metadata, tracking files, and locks before bundling, fixing Central's “Bundle has content that does NOT have a .pom file” rejection. Remove the Maven 3.9.16 installation step introduced by #179 so releases use the runner's Maven again.

The fix is documented in the official 0.12.0 release notes and upstream PR #3.

Validation on Maven 3.10.0 / JDK 11:

  • Ran the root POM through deploy -N in a temporary release-version copy with dummy credentials and -DskipUpload=true. The 0.12.0 build succeeded and explicitly skipped the upload; its bundle contains only the POM and four checksums, with no repository metadata, tracking files, or locks.
  • Checked workflow YAML, POM XML, and git diff --check.

The full reactor and a live Maven Central deployment were not run.

@vharseko vharseko added bug Something isn't working dependencies Pull requests that update a dependency file ci CI, build & workflow changes labels Nov 6, 2026
@vharseko
vharseko requested a review from maximthomas November 6, 2026 12:39
@vharseko
vharseko merged commit 2454b55 into OpenIdentityPlatform:master Nov 6, 2026
11 checks passed
@vharseko
vharseko deleted the fix-central-publishing-0.12.0 branch November 6, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci CI, build & workflow changes dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maven Central release fails under Maven 3.10: bundle has content without a .pom

2 participants